:global {
  img{
    display: inline-block;
    border: none;
  }
  * {
    margin: 0;
    padding: 0;
  }
  .fn-clear {
    *zoom: 1;
  }
  .fn-clear:before,
  .fn-clear:after {
    content: '';
    display: table;
  }
  .fn-clear:after {
    clear: both;
  }
  .fn-left {
    float: left;
  }
  .fn-right {
    float: right;
  }
  .fn-hide {
    display: none;
  }
  .fn-show {
    display: block;
  }
  .text-left {
    text-align: left;
  }
  .text-center {
    text-align: center;
  }
  .text-right {
    text-align: right;
  }
  *,
  :after,
  :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
  }
  .no-select {
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
  }
  .no-appear {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
  }
  .no-wrap {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
  }
  #root,
  body,
  html {
    width: 100%;
    height: 100%; //overflow: hidden;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
  }
  .normal {
    padding-top: 45px;
    // padding-bottom: 45px;
    padding-bottom: 50px;
  }
  #root.no-footer {
    .normal.page {
      padding-bottom: 0;
    }
    .list-view-section-body {
      padding-bottom: 0 !important; //padding-bottom:35px!important;
    }
  }
  #main .mi-grid .am-grid.am-grid-square .am-grid-item .am-grid-item-inner-content .am-grid-icon {
    //height: 12vw;
  }
  #main,
  body {
    width: 100%!important;
    height: 100%;
    background: #f7f7f7;
    &.no-header {
      .normal {
        padding-top: 0 !important;
      }
    }
    .no-footer {
      //width:100%;
      //height:100%;
    }
    .am-tabs-default-bar-tab {
      line-height: unset !important;
    }
    .page-item.mi-group {
      //border-top:10px solid #eee;
      //border-bottom:10px solid #eee;
      font-weight: 700;
      color: #108ee9;
      background: #fff;
      line-height: 40px; //border-bottom:10px solid #eee;
      border-bottom: 5px solid #eee;
      &:not(:first-child) {
        //border-top:10px solid #eee;
        border-top: 5px solid #eee;
      }
      .am-list-item {
        background: unset;
        min-height: unset !important;
        .am-list-line {
          &>div {
            font-size: 18px;
          }
        }
      }
      &:after {
        height: 0 !important;
      }
      &+.page-item {
        &:after {
          height: 0 !important;
        }
      }
    }
    .mi-senior-search {
      background: #fff; //padding:5px;
      .am-search {
        background: #fff;
        margin-right: 5px;
        .am-search-input {
          input {
            height: 26px;
          }
          border: 1px solid #eee;
          border-radius:5px;
          .am-search-clear {
            padding: 0;
            top: 6.5px;
            right: 6.5px;
          }
        }
      }
    }
    .mi-search-tabs {
      .am-tabs-default-bar-tab {
        text-align: center;
      }
    }
    .mi-listview {
      .am-list-view-scrollview {
        border: 0 !important;
        border: none !important; //margin-top:0!important;
      } //padding-top:90px;
      .am-pull-to-refresh-indicator {
        height: 40px;
        line-height: 40px;
        margin-top: -40px !important;
      }
      .am-list-footer {
        padding: 0 !important;
      }
      .list-view-section-body {
        padding-bottom: 50px;
      }
      .use-body-scroll {
        .list-view-section-body {
          padding-bottom: 50px;
        }
      }
      .separator {
      // .separator:not(:last-child) {
        background-color: #efefef;
        height: 4px;
        // border-top: 1px solid #ECECED;
        // border-bottom: 1px solid #ECECED;
      }
      .am-list-body {
        border-top: none;
        border-top: 0;
        border-bottom: none;
        border-bottom: 0;
      }
    }
    .mi-grid {
      .am-grid.am-grid-square .am-grid-item .am-grid-item-inner-content {
        .am-grid-icon {
          width: 40% !important;
        }
        .am-grid-text {
          font-size: 14px;
        }
      }
    }
  }
  //  弹窗路由的一些样式
  .modal-router {
    .am-modal-close {
      right: 3px;
      top: 3px;
      width: 15px;
      height: 15px;
    }
    .am-modal-content {
      text-align: unset
    }
  }
  .ellipsis1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;

  }
  .ellipsis2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }
  .ellipsis4{
    white-space:initial;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .ellipsis3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  } // 下拉弹窗选择 和多选 联系人等的弹窗title的样式修改 文字两边小  中间大
  .am-picker-popup-item {
    &.am-picker-popup-title {
      font-size: 18px;
    }
    &.am-picker-popup-header-left,
    &.am-picker-popup-header-right {
      font-size: 16px;
    }
  } //按钮样式调整
  .am-button.am-button-small {
    line-height: 28px;
  }
  .am-activity-indicator.refreshing{
    .am-activity-indicator-content{
      display: none;
    }
  }
  .am-list-item:not(:last-child) .am-list-line{
    border-bottom:none!important;
  }
  .am-list-item{
    .am-checkbox-wrapper{
      .am-checkbox.am-checkbox-checked{
        .am-checkbox-inner{
          background:#F09600!important;
          border-color:#F09600!important;
        }

      }
    }
  }
  .ant-menu-submenu-selected{
    color:#F09600!important;
  }
  .ant-menu-item-selected{
    color:#F09600!important;
  }
  .ant-menu-item:hover, .ant-menu-item-active, .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open, .ant-menu-submenu-active, .ant-menu-submenu-title:hover{
    color:#F09600!important;
  }
  .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{
    background-color:#fff!important;
  }
  .ant-menu-vertical .ant-menu-item::after, .ant-menu-vertical-left .ant-menu-item::after, .ant-menu-vertical-right .ant-menu-item::after, .ant-menu-inline .ant-menu-item::after{
    border-right:none!important;
  }
  .ant-menu-submenu-selected .ant-menu-submenu-title{
    border-left:3px solid #F09600!important;
  }
  .ant-menu-submenu-vertical > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after, .ant-menu-submenu-vertical-left > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after, .ant-menu-submenu-vertical-right > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after, .ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after, .ant-menu-submenu-vertical > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before, .ant-menu-submenu-vertical-left > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before, .ant-menu-submenu-vertical-right > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before, .ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before{
    background: linear-gradient(to right, #F09600, #F09600)!important;
  }
  .ant-menu{
    background:#fff!important;
  }
  .buttonColor{
    background:#F0F0F0!important;
    color:#595867!important;
  }
  .buttonColorHover{
    background:#f9e0b6!important;
    color:#F09600!important;
    height:34px!important;
    line-height:34px!important;

  }
  .buttonColorHover1{
    position:fixed!important;
    top:10%;
    left:36%;
    width:16%;
    z-index:200;
    visibility:visible!important;

  }

  .mela .list-view-section-body {
      margin: 10px;
      column-count: 2;
      column-gap: 10px;
      -webkit-column-break-inside:Avoid;
      page-break-inside:Avoid;
      break-inside:Avoid;


    }
  .macy-container{
    width: 100%;
    li{
      width: 50%;
      >img{
        width: 100%;
      }
    }
  }

  .box {
    margin: 10px;
    column-count: 2;
    column-gap: 10px;
    -webkit-column-break-inside:Avoid;
    page-break-inside:Avoid;
    break-inside:Avoid;

  }
    .item {
      margin-bottom: 10px;
      height:100%;
      overflow:Auto;

    }

  .carousel{
    height:119px!important;
  }
  .am-radio.am-radio-checked .am-radio-inner:after{
    border-color:#FF9F00!important;
  }

.am-list-body{
  position:static!important;
  background-color:rgb(249, 247, 247)!important;
  border:none!important;

}
  //.category .list-view-section-body {
  //  margin: 10px 3%;
  //  column-count: 3;
  //  column-gap: 25px;
  //  -webkit-column-break-inside:Avoid;
  //  page-break-inside:Avoid;
  //  break-inside:Avoid;
  //
  //}
  .category .list-view-section-body {
    margin: 10px 0% 0 3%;

  }
  .category .am-list-body{
    position:static!important;
    background-color:#fff!important;
    border:none!important;
  }
  .myOrder .am-list-body{
    position:static!important;
    background-color:#fff!important;
    border:none!important;
  }
  #root.no-footer .list-view-section-body{
    overflow:hidden;
  }
  .am-list-view-scrollview-content.am-list{
    width:100%!important;
  }
  .am-list-body div:not(:last-child) .am-list-line{
    border:none!important;
  }
  .pages_pinterest{
    width: 99%;
    height: 100%;
    border: 2px solid red;
    overflow: hidden;
    overflow: auto;
    box-sizing: border-box;
    .pages_hoc{
      height: 100%;
      margin: 0 auto;
      .imgBox{
        width: 400px;
        border: 2px solid red;
        margin-bottom: 20px;
        img{
          vertical-align: top;
        }
      }
    }
  }
  .boxCon{
    overflow:hidden;
    width:100%;
    background: rgb(249, 247, 247);
    padding:3% 3% 17% 3%;
  }
  .left{
    width:48%;
    float:left;
    margin-right:2%;

  }
  .right{
    width:50%;
    float:left;
  }
  #main1{
    /* width: 1000px;
    max-width: 1000px;*/
    margin :0 auto;
    position: relative;
    width:100%
  }
  .box1{
    float: left;
    padding: 15px 0 0 15px;
    width:48%
  }
  .pic{
    padding: 15px;
    border:1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 5px #ccc;
    width:100%;
  }
  .box1 img{
    width: 100%;
  }
  .am-icon-md{
    width:25px!important;
    height:25px!important;
  }
}
